package com.account.book.common.exception;

/**
 * @author liang-hw
 * @className BasicInfoException
 * @description
 * @date 2023/11/09 15:11:07
 */
public class BasicInfoException extends RuntimeException {

    private int code;

    public BasicInfoException(int code, String message) {
        super(message);
        this.code = code;
    }

    public int getCode() {
        return code;
    }
}
